|
|
|
|
FocusHighlightStyle Property, SftTabs Class |
Defines the appearance of the focus rectangle on the active tab, displayed when the control has the input focus.
Syntax SftTabs Class (Softelvdm.SftTabsNET)
VB |
Public Property FocusHighlightStyle As FocusHighlightStyleEnum |
C# |
public FocusHighlightStyleEnum FocusHighlightStyle { get; set; } |
C++ |
public: property FocusHighlightStyleEnum FocusHighlightStyle { |
Property Value
The appearance of the focus rectangle.
Value |
Description |
|
0 | No focus rectangle is visible, even when the control has the input focus. | |
1 | The entire inside area of the tab is highlighted using a focus rectangle, when the control has the input focus. | |
2 | The tab displays the smallest possible focus rectangle that contains all parts, when the control has the input focus. | |
3 | The tab displays the smallest possible focus rectangle (in width) that contains all parts, when the control has the input focus. The focus rectangle height is as large as possible. | |
4 | The tab displays the smallest possible focus rectangle that contains all text parts (TextPartClass), when the control has the input focus. | |
5 | The tab displays the smallest possible focus rectangle (in width) that contains all text parts (TextPartClass), when the control has the input focus. The focus rectangle height is as large as possible. |
The default value is FocusHighlightStyleEnum.Tight.
Comments
The FocusHighlightStyle property defines the appearance of the focus rectangle on the active tab, displayed when the control has the input focus.
If the FocusHighlightStyle property is set to FocusHighlightStyleEnum.None, the user cannot distinguish a control with the input focus from one without the input focus. This is typically used for tab controls without client area, where the application shifts the input focus to another control when a tab is selected.